package com.virgo.demo.support.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.virgo.common.entity.ListDataVo;
import com.virgo.demo.support.domain.DictTypeDo;
import com.virgo.demo.support.domain.bo.DictTypeBo;
import com.virgo.demo.support.domain.vo.DictTypeVo;
import jakarta.servlet.http.HttpServletRequest;

public interface DictTypeService extends IService<DictTypeDo> {

	/**
	 * 根据字典标识查找
	 * @param dictType String
	 * @return DictTypeDo
	 */
	DictTypeDo loadByType(String dictType);

	/**
	 * 编辑字典
	 * @param dictTypeBo DictTypeBo
	 */
	void saveDictTyp(DictTypeBo dictTypeBo);

	/**
	 * 删除字典
	 * @param ids String
	 */
	void deleteDictType(String ids);

	/**
	 * 标签列表
	 * @param request HttpServletRequest
	 * @return ListDataVo<DictTypeVo>
	 */
	ListDataVo<DictTypeVo> findList(HttpServletRequest request);
}